package com.yc.cinema;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

//@Component("dog1")
@Component
public class Dog {

    private String name = "旺财";

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
